package net.hust.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Admin entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Integer adminId;
	private String adminName;
	private String passwd;
	private Set recommands = new HashSet(0);
	private Set loadsongs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** minimal constructor */
	public Admin(Integer adminId, String adminName, String passwd) {
		this.adminId = adminId;
		this.adminName = adminName;
		this.passwd = passwd;
	}

	/** full constructor */
	public Admin(Integer adminId, String adminName, String passwd,
			Set recommands, Set loadsongs) {
		this.adminId = adminId;
		this.adminName = adminName;
		this.passwd = passwd;
		this.recommands = recommands;
		this.loadsongs = loadsongs;
	}

	// Property accessors

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public Set getRecommands() {
		return this.recommands;
	}

	public void setRecommands(Set recommands) {
		this.recommands = recommands;
	}

	public Set getLoadsongs() {
		return this.loadsongs;
	}

	public void setLoadsongs(Set loadsongs) {
		this.loadsongs = loadsongs;
	}

}